package cn.iocoder.yudao.module.ai.controller.admin.voice.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 语音转文字 Request VO
 *
 * @author 芋道源码
 */
@Schema(description = "管理后台 - AI 语音转文字 Request VO")
@Data
public class AiVoiceTranscriptionReqVO {

    @Schema(description = "语音数据（Base64编码）", requiredMode = Schema.RequiredMode.REQUIRED, example = "data:audio/webm;base64,GkXfo...")
    @NotNull(message = "语音数据不能为空")
    private String audioData;

    @Schema(description = "语音格式", example = "webm")
    private String format;

    @Schema(description = "语言代码", example = "zh")
    private String language;

}





